package domain

type TmallServiceSettlementBillinfoQueryWorkcardBillInfoDTO struct {
	/*
	   工单ID     */
	WorkcardId *int64 `json:"workcard_id,omitempty" `

	/*
	   分成金额（分）     */
	Amount *int64 `json:"amount,omitempty" `

	/*
	   平台抽佣比例 0.0 ~ 1.0     */
	PlatformCommissionRate *int64 `json:"platform_commission_rate,omitempty" `

	/*
	   费用明细     */
	Details *[]TmallServiceSettlementBillinfoQueryDouble `json:"details,omitempty" `
}

func (s *TmallServiceSettlementBillinfoQueryWorkcardBillInfoDTO) SetWorkcardId(v int64) *TmallServiceSettlementBillinfoQueryWorkcardBillInfoDTO {
	s.WorkcardId = &v
	return s
}
func (s *TmallServiceSettlementBillinfoQueryWorkcardBillInfoDTO) SetAmount(v int64) *TmallServiceSettlementBillinfoQueryWorkcardBillInfoDTO {
	s.Amount = &v
	return s
}
func (s *TmallServiceSettlementBillinfoQueryWorkcardBillInfoDTO) SetPlatformCommissionRate(v int64) *TmallServiceSettlementBillinfoQueryWorkcardBillInfoDTO {
	s.PlatformCommissionRate = &v
	return s
}
func (s *TmallServiceSettlementBillinfoQueryWorkcardBillInfoDTO) SetDetails(v []TmallServiceSettlementBillinfoQueryDouble) *TmallServiceSettlementBillinfoQueryWorkcardBillInfoDTO {
	s.Details = &v
	return s
}
